package com.example.musicapi.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "user")
public class User {
    @Id
    String name;
    String password;
    String email;
    @Lob
    @Column(name = "img", columnDefinition = "BLOB")
    private byte[] img;
    String type;

}
